package cn.wit.job.service;

import cn.wit.job.condition.SearchCompanyCondition;
import cn.wit.utils.pojo.Company;
import cn.wit.utils.response.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

@Service
public interface CompanyService {
    Result insert(Company c);
    Result deleteById(int id);
    Result updateById(Company c);
    Result  selectAllCompany();

    Result searchPage(IPage<Company> page, SearchCompanyCondition condition);

    Result excelImport(MultipartFile file);
}
